'use strict';

function router(app) {
  app.router.get('/rolelist', app.controller.role.list);
  app.router.get('/rolelistall', app.controller.role.listAll);
  app.router.post('/rolecreate', app.controller.role.create);
  app.router.get('/roledelete', app.controller.role.delete);
  app.router.post('/roleedit', app.controller.role.edit);
  app.router.get('/rolesingle', app.controller.role.single);
  app.router.post('/roleinfoupdatemenus',app.controller.role.roleInfoUpdateMenus);
  app.router.post('/roleuser',app.controller.role.roleuser)
}
module.exports = {
  router,
};
